import http from '@/utils/http.js'
export const getSessioId = (code) => {
	return http({
		url: `/weixin/sessionId/${code}`
	})
}
//手机号登录
//获取验证码
export const getPhoneCode = (phone) => {
	return http({
		url: '/phone/code',
		params: {
			phone
		}
	})
}
//手机登录
export const PhoneLogin = (data) => {
	return http({
		url: '/phone/login',
		data,
		method: 'post'
	})
}
